package entities;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

@Entity
@Table(name="raspunsuri_completate")
@NamedQueries({
	@NamedQuery(name="findAllRaspunsuriCompletate", 
			query="SELECT rc FROM RaspunsuriCompletate rc"),
	@NamedQuery(name="findRaspunsuriCompletateByChestionar",
			query="SELECT rc FROM RaspunsuriCompletate rc WHERE rc.chestionarId = :Param"),
	@NamedQuery(name="findRaspunsuriCompletateByIntrebare",
			query="SELECT rc FROM RaspunsuriCompletate rc WHERE rc.intrebareId = :Param")
})
public class RaspunsuriCompletate implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@Id
	private int id;
	
	private int chestionarId;
	
	private int intrebareId;
	
	private String raspuns;
	
	private int angajatId;
	
	private String angajatName;
	
	public RaspunsuriCompletate(){
		super();
	}
	
	public RaspunsuriCompletate(int id, int chestionarId, int intrebareId, String raspuns, int angajatId, String angajatName){
		this.id = id;
		this.chestionarId = chestionarId;
		this.intrebareId = intrebareId;
		this.raspuns = raspuns;
		this.angajatId = angajatId;
		this.angajatName = angajatName;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getChestionarId() {
		return chestionarId;
	}

	public void setChestionarId(int chestionarId) {
		this.chestionarId = chestionarId;
	}

	public int getIntrebareId() {
		return intrebareId;
	}

	public void setIntrebareId(int intrebareId) {
		this.intrebareId = intrebareId;
	}

	public String getRaspuns() {
		return raspuns;
	}

	public void setRaspuns(String raspuns) {
		this.raspuns = raspuns;
	}

	public int getAngajatId() {
		return angajatId;
	}

	public void setAngajatId(int angajatId) {
		this.angajatId = angajatId;
	}

	public String getAngajatName() {
		return angajatName;
	}

	public void setAngajatName(String angajatName) {
		this.angajatName = angajatName;
	}

}
